package com.pro.springbootpro.service.impl;

import com.pro.springbootpro.entity.SysAuth;
import com.pro.springbootpro.mapper.SysAuthMapper;
import com.pro.springbootpro.service.ISysAuthService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author DJR (1210843430@qq.com)
 */
@Service
@Slf4j
public class SysAuthServiceImpl implements ISysAuthService {
    @Autowired
    private SysAuthMapper sysAuthMapper;


    @Override
    public List<SysAuth> findAuthByUserId(String userId) {
        return sysAuthMapper.findAuthByUserId(userId);
    }
}
